#ifndef HQ_AES_H
#define HQ_AES_H

#define MAX_FILE_LEN 4096
#define MODE EVP_aes_192_ecb

int HqAesEncStr(unsigned char *plaintext, int plaintext_len, unsigned char *key,
  unsigned char *iv, unsigned char *ciphertext);

int HqAesDecStr(unsigned char *ciphertext, int ciphertext_len, unsigned char *key,
  unsigned char *iv, unsigned char *plaintext);

int HqAesEncFile(const char *absPlainPath, unsigned char *key,
             unsigned char *iv, const char* absCipherPath);
int HqAesDecFile(const char * absCipherPath, unsigned char *key,
             unsigned char *iv, const char* absPlainPath);

#endif // !HQ_AES_H